<?php
/*
 * webos.php
 * name:xiaojia
 * email:iatt@qq.com
 * qq:273142650
 * time:2012.1.14 15:42
*/
	class userClass
	{
		
		public function getGroupAuth ($group)
		{
				
			$select = "SELECT * FROM " . PRE . "user_group WHERE groupID in ($group)";
			
			$dt = Jdb::getRs($select);
			
			while ($dr = mysql_fetch_array($dt)) {
				
				$auth[] = $dr['groupAppAuthority'];
				
			}
			
			return implode(',', $auth);
			
		}
		
	}
?>